AmeliaBooking\Application\Services\User\ProviderApplicationService D

Total Complexity 214
Dependencies 26
Dependents 0
Total lines 1,540
Lines of code 853
Logical lines of code 483
Comment lines 348
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
updateProviderWorkDays()
D
28
34 134
updateProviderSpecialDays()
C
31 26 111
add()
B
33 20 93
delete()
B
41 16 50
setAvailablePeriodServicesLocations()
A
45 15 42
getProviderServiceLocations()
A
43 14 49
manageProvidersActivity()
A
44 13 43
createProvider()
A
44 8 46
getAllowedCustomers()
A
46 8 39
getProviderScheduleIntervals()
A
45 7 46
updateProviderDaysOff()
A
52 8 22
updateProviderServices()
S
50 7 30
modifyPeriodsWithSingleLocationAfterFetch()
S
52 7 26
removeAllExceptUser()
S
56 7 18
updateProviderLocations()
S
55 5 22
modifyPeriodsWithSingleLocationBeforePersist()
S
58 5 16
update()
S
57 5 16
checkIfTodayIsCompanyDayOff()
S
59 4 14
getProviderWithServicesAndSchedule()
S
59 1 15
__construct()
S
81 1 3
updateProviderGoogleCalendar()
S
70 1 7
updateProviderOutlookCalendar()
S
70 1 7
getMandatoryServicesIds()
S
75 1 4